import 'dart:async';

import 'package:flutter/services.dart';

class FlutterTvUuid {
  static const MethodChannel _channel = MethodChannel('flutter_tv_uuid');

  /// Future method to get android version of the device
  static Future<String?> get platformVersion async {
    final String? version = await _channel.invokeMethod('getPlatformVersion');
    return version;
  }

  /// Future method to get unique Id of device
  static Future<String> get deviceId async {
    final String deviceId = await _channel.invokeMethod("getDeviceId");
    return deviceId;
  }
}
